From c68c9a8f05e840292d39917df9fa32d9e166edc9 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 14 Jul 2023 21:55:06 +0100 Subject: Update serialisation of LLVM code gen context in tests --- ...dlang.compiler.testing.snapshots.Snapshotter)].expected | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 7d50a817..0d323497 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.llvm.LlvmCodeGenStringAddTests]/[method:stringAddIsCompiledToCallToRuntimeStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -2,9 +2,13 @@ Stack: * %tmp__0 * %a -Module: +Instructions: + +%tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) + +Top-level entities: + declare i64 @shed__runtime__string_add(i64 %left, i64 %right) -define void @f() { - %tmp__0 = call i64 @shed__runtime__string_add(i64 %b, i64 %c) - ret void -} + +Shed locals: + -- cgit v1.2.3